package com.withmiku.world.user.service;

import com.withmiku.world.user.entity.User;

public interface UserService {
    User register(String username, String rowPassword, String email);
    String login(String username, String rowPassword);
    User findByUsername(String username);
    void updateAvatar(String username, String avatarUrl);
    void updateProfile(String username, User newInfo);
    User findById(Long userId);
}
